import { createApp } from 'vue';
import ElementPlus from 'element-plus';
import { QuillEditor } from '@vueup/vue-quill';
import 'element-plus/dist/index.css';
import '@vueup/vue-quill/dist/vue-quill.snow.css';
import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
import Qfpage from '@/components/Qfpage.vue';
import App from './App.vue';
import router from './router';
import store from './store';

const app = createApp(App);
app.use(ElementPlus, {
  locale: zhCn,
});
app.component('Qfpage', Qfpage); // 全局注册Qfpage
app.component('QuillEditor', QuillEditor);
app.use(ElementPlus);
app.use(store);
app.use(router);
app.mount('#app');
